normalize

open override fun normalize(): MutableVec3(source)

Normalizes the vector.

Return

A vector that has the same direction as this vector but with a length of 1.